package com.linwen.excise.niuke._20;

import java.util.Scanner;

/**
 * @author wlw
 * @date 2023/3/1 10:18 PM
 */
public class _5字符串分隔 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String str = scanner.nextLine();
        if(str.length()==0){
            return;
        }
        char[] chars = str.toCharArray();
        StringBuilder stringBuilder = new StringBuilder(8);
        int count = 0;
        for (int i = 0; i < chars.length; i++) {
            if(count==8){
                System.out.println(stringBuilder.toString());
                count = 1;
                stringBuilder.delete(0,8);
                stringBuilder.append(chars[i]);
            } else{
                count++;
                stringBuilder.append(chars[i]);
            }
            if(i==chars.length-1){
                for (int i1 = 0; i1 < 8- count; i1++) {
                    stringBuilder.append("0");
                }
                System.out.println(stringBuilder.toString());
            }
        }

    }
}
